package c.b.a.c.a.g;

import java.util.concurrent.Executor;

final class k<ResultT> implements n<ResultT> {

    /* renamed from: a  reason: collision with root package name */
    private final Executor f1998a;
    /* access modifiers changed from: private */

    /* renamed from: b  reason: collision with root package name */
    public final Object f1999b = new Object();
    /* access modifiers changed from: private */

    /* renamed from: c  reason: collision with root package name */
    public final b f2000c;

    public k(Executor executor, b bVar) {
        this.f1998a = executor;
        this.f2000c = bVar;
    }

    public final void a(e<ResultT> eVar) {
        if (!eVar.g()) {
            synchronized (this.f1999b) {
                if (this.f2000c != null) {
                    this.f1998a.execute(new j(this, eVar));
                }
            }
        }
    }
}
